<script type="text/javascript">
    $(function() {        
        $("a.back").button({
            icons: {
                primary: "ui-icon-circle-arrow-w"
            }
        });
    });
</script>

<table class="append-bottom">
    <thead>
        <th>
            Categoria
        </th>
        <th>
            Nominaciones
        </th>
    </thead>
    <tbody>
        <?php foreach ($totals as $total) : ?>
            <tr>
                <td><?php echo $total['category']?></td>
                <td><?php echo $total['total']?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>

<hr />

<a class="back" href="<?php echo url_for('candidate') ?>">Regresar al listado</a>